/*** 
 * @Author: LVGRAPE
 * @Date: 2023-12-06 17:48:06
 * @LastEditTime: 2023-12-08 09:08:03
 * @LastEditors: LVGRAPE
 * @Description: 
 * @FilePath: \zino-fc-v4\ZINO\hardware\lsm6dsr\lsm6dsr_spi.h
 * @要啥没啥，爱咋咋的
 */

#ifndef __LSM6DSR_SPI_H_
#define __LSM6DSR_SPI_H_
#ifdef __cplusplus
extern "C"
{
#endif // __cplusplus

#include <stdint.h>

int lsm6dsr_spi_read_data_polling_int(void);
int lsm6dsr_spi_read_gyro_data_polling(int32_t* mdps_x, int32_t* mdps_y, int32_t* mdps_z);
int lsm6dsr_spi_read_accel_data_polling(int32_t* mgx, int32_t *mgy, int32_t *mgz);
int lsm6dsr_spi_read_temperature(float* degC);

#ifdef __cplusplus
}
#endif // __cplusplus
#endif
